from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/tm/', include('tinymce.urls')),
    url(r'^admin/fb/', include('filebrowser.urls')),
    url(r'^admin/jsi18n/', 'django.views.i18n.javascript_catalog'),
    url(r'^$', 'oets.main.views.home', name='home'),
    url(r'^news/', include('oets.news.urls')),
    url(r'^docs/', include('oets.documents.urls')),
    url(r'^success/$', 'oets.main.views.success', name='success'),
    url(r'^personal/', include('oets.main.urls')),
    url(r'^promotions/', include('oets.promotion.urls')),
    url(r'^trainings/', include('oets.trainings.urls')),
    url(r'^repairs/', include('oets.repairs.urls')),
    url(r'^vacations/', include('oets.vacations.urls'))
)

from local_url import *